Repository navigation
docs(adr-021): the PVC hold is lifted, and what still names the gateway - #3900
Conversation
The Hold paragraph still read as if PVC deletion were pending. It now says what lifted it and that the PVCs and the config map are gone, and lists what still names the gateway: only the backend driver, a few scripts and legacy notes. Nothing in the chart or the workflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MDs9DQrphtAoJpQYAwLJYU
Pre-merge checks:
|
lilyshen0722
left a comment
There was a problem hiding this comment.
Review of #3900 (head 9da8f73), checked against origin/main fetched today. Docs-only; no code run.
- (Factual error, blocks) "Nothing in the Helm chart or the deploy workflows" does not hold on origin/main. No chart template or workflow deploys or wires the gateway, and no clawdbot resource names remain under k8s/helm, but the chart still names the gateway or openclaw in comments and config files:
- k8s/helm/commonly/values.yaml:685 names gatewayProvisionerServiceK8s.
- k8s/helm/commonly/files/litellm/model_fallback_signal.py:6 "the moltbot gateway included".
- k8s/helm/commonly/templates/agents/cloud-codex-deployment.yaml:210 "openclaw moltbot agent"; templates/agents/litellm-deployment.yaml:345, templates/core/backend-deployment.yaml:687 and templates/ops/ops-runner-deployment.yaml:644 "OpenClaw's native ... handler".
- k8s/helm/commonly/templates/agent-provisioning/rbac.yaml:31 and templates/agents/agent-provisioner-rbac.yaml:44 "gateway workspaces".
- k8s/helm/commonly/configs/SKILLS_CATALOG.md:68-76 ("OpenClaw Usage", moltbot.json) and configs/AWESOME_AGENT_SKILLS.md:11 (external/clawdbot-state).
Fix: narrow the sentence to what is true, for example "No Helm template or deploy workflow deploys or wires the gateway (scripts/retired-gateway.test.mjs guards that); comments and two config notes under k8s/helm still name it." Then the claim matches the repo.
-
(Item 2, verified) Every list item exists on origin/main and names the gateway or openclaw: agentProvisionerService.ts (moltbot runtime branches naming clawdbot-gateway-dev and clawdbot-gateway, lines 1282 and 1377); agentProvisionerServiceK8s.ts (clawdbot-gateway container throughout); gatewayProvisionerServiceK8s.ts (CLAWDBOT_GATEWAY_* env, default gateway image); presets.ts (openclaw presets); backend/routes/health.ts:300 router.get('/clawdbot'); dev.sh:56-61 and dev.sh:337 (the clawdbot case). Nit: "dev.sh (which only cleans up old containers)" is loose. The clawdbot case at dev.sh:337 is a no-op that prints a retirement message.
-
(Item 2, count) "three demo and recovery scripts" should be four. setup-demo.sh:72, reset-demo-account.sh:86 and recover-codex-auth.sh:111-113 exec or restart deployment/clawdbot-gateway. smoke-test-demo.sh:192, :279 and :363 name the openclaw runtime. Name all four, or say "the demo and recovery scripts" and list them. The three k8s/*.md notes exist: k8s/IMPLEMENTATION_STATUS.md, k8s/MIGRATION_SUMMARY.md, k8s/QUICK_START.md.
-
(Item 3, misses) Significant files outside docs/ that name the gateway and are not in the list:
- docker-compose.yml:97 and :115, and docker-compose.dev.yml:105-114 and :146-147, point at external/clawdbot-state and OPENCLAW_CONFIG_PATH. This is the local dev stack.
- backend/routes/gateways.ts:16 requires gatewayProvisionerServiceK8s, so the route that serves the gateway is missing from the list.
- frontend/src/components/admin/GlobalIntegrations.tsx:64, :851 and :1026 are an admin screen for "OpenClaw gateway model defaults".
- backend/commonly-bundled-skills/officecli/templates/build_templates.py:132 execs into deployment/clawdbot-gateway.
- These non-docs files also name openclaw or clawdbot in quantity, and the list does not mention them: backend/routes/registry/reprovision.ts, plugins.ts, detect.ts, skills.ts; backend/services/agentEventService.ts, agentMentionService.ts, globalModelConfigService.ts. Some cli/, commonly-mcp/ and external/ files also match. I did not read each one, so the list may not be exhaustive either.
Fix: add these, or say the list covers the backend driver and the scripts, not every file.
-
(Item 4, consistency) No contradiction with the 11-07 note (the driver stays until TASK-520) or the 11-08 note. The paragraph correctly leaves out /api/providers/moltbot, which the 11-08 note says is gone. Wording nit: "TASK-520 deletes the driver" reads as if all of TASK-520 is ahead, but the 11-08 note says its provider removal (#3763) has already merged. Say "the rest of TASK-520 deletes the driver."
-
(Item 5, infra identifiers) Pass. The added lines contain no project ids, bucket names or cluster names. "a private, versioned GCS bucket" is generic. clawdbot-config and clawdbot-gateway-token are resource and key names, not infra identifiers.
-
The dated events (11-01, 11-03, 11-04, 11-07, 11-08) were taken as given, as requested. Only the repo-checkable claims were verified.
Verdict: HOLD on finding 1, the only factual error. Findings 2 to 5 are completeness and wording fixes that can go in the same edit.
Written by a Haiku reviewer subagent for the Launch session
GATE: HOLD
No template or workflow deploys the gateway, but chart comments and config notes still name it, and the earlier list was not complete. The paragraph now says what is left in broad strokes, notes that TASK-520's provider removal already merged, and points at git grep for the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MDs9DQrphtAoJpQYAwLJYU
lilyshen0722
left a comment
There was a problem hiding this comment.
Re-review of #3900 at head 52bd703, checked against origin/main fetched today. Docs-only.
-
(Previous finding 1, resolved) The new paragraph says no chart template and no deploy workflow deploys or wires the gateway, and that chart comments and config notes still name it. Checked on origin/main: the only clawdbot or moltbot match under k8s/helm/commonly/templates and .github/workflows is a comment at templates/agents/cloud-codex-deployment.yaml:210, and the only gateway match in the workflows is the retired-gateway guard step at tests.yml:384. No deployment or wiring remains.
-
(Previous finding 2, resolved) The dev.sh wording is now plain "dev.sh" with no "only cleans up" claim, so the loose phrasing is gone.
-
(Previous finding 3, resolved) The scripts are no longer counted, so the three-versus-four error is gone.
-
(Previous finding 4, resolved) The paragraph now names the gateways route, which requires gatewayProvisionerServiceK8s at backend/routes/gateways.ts:16, and the admin screen for OpenClaw model defaults at frontend/src/components/admin/GlobalIntegrations.tsx:64. The compose files, scripts and legacy k8s/*.md notes are named as categories, not counted.
-
(Previous finding 5, resolved) The paragraph now says the rest of TASK-520 is still ahead and that its provider removal merged, which matches the 11-08 note.
-
(Consistency) The paragraph agrees with the 11-07 note (the driver stays until TASK-520) and the 11-08 note (the moltbot provider route is already gone). Nothing contradicts them.
-
(Infra identifiers) Pass. The added text has no project, bucket or cluster names.
-
(Nit, not blocking) The pointer
git grep -i -e clawdbot -e openclawworks, but run over the whole tree on origin/main it matches 337 files and about 7,800 lines, including docs/ and tests. If the paragraph wants a usable current list, it could add-- ':!docs' ':!*test*'.
Verdict: PASS. The factual error from the first review is fixed, and the completeness and wording findings are addressed.
Written by a Haiku reviewer subagent for the Launch session
GATE: PASS
What this changes
ADR-021 Part B's "Hold" paragraph still said PVC deletion was held for a second copy of the export and a workspace restore. That hold was lifted and the deletion has happened. This updates the paragraph to say so:
clawdbot-configConfigMap were deleted, and none is left on the cluster (checked read-only today). The archived moltbot tokens were revoked on 2026-11-04.It adds a short "what still names the gateway" paragraph. No chart template or deploy workflow deploys or wires it; chart comments and config notes still mention it. The biggest piece left is the backend driver, and smaller references sit in scripts, the compose files,
dev.shand legacy notes. The paragraph points atgit grepfor the current list instead of trying to be one.This closes the docs half of the gateway retirement. The chart and workflow removal itself landed in #3728 and #3845, so #2705 (closed) needs no successor.
Docs only, Tier 0.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MDs9DQrphtAoJpQYAwLJYU